package com.zzs.team.Entity;

import java.util.Date;

/**
 * 用来封装处理发布队友的信息
 */
public class Team {

    private Integer teamID;
    private Date createTime; //创建时间
    private String schoolName; //发布的学校
    private String typeName;
    private Boolean reservation; //是否是预约型（可以抢）
    private String userID;
    private Integer AllNumber; //组队总人数  -1为人数不限
    private Integer hasNumber; //已有人数
    private String title;  //标题
    private Boolean qqorWechat;//0为QQ 1为Wechat
    private String qqorWechatText; //联系方式
    private String aim; //目的
    private String teamInfo; //队伍信息
    private String  Request;  //要求

    public Team() {

    }

    public Boolean getReservation() {
        return reservation;
    }

    public void setReservation(Boolean reservation) {
        this.reservation = reservation;
    }

    public Integer getTeamID() {
        return teamID;
    }

    public void setTeamID(Integer teamID) {
        this.teamID = teamID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public Integer getAllNumber() {
        return AllNumber;
    }

    public void setAllNumber(Integer allNumber) {
        AllNumber = allNumber;
    }

    public Integer getHasNumber() {
        return hasNumber;
    }

    public void setHasNumber(Integer hasNumber) {
        this.hasNumber = hasNumber;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean getQqorWechat() {
        return qqorWechat;
    }

    public void setQqorWechat(Boolean qqorWechat) {
        this.qqorWechat = qqorWechat;
    }

    public String getQqorWechatText() {
        return qqorWechatText;
    }

    public void setQqorWechatText(String qqorWechatText) {
        this.qqorWechatText = qqorWechatText;
    }

    public String getAim() {
        return aim;
    }

    public void setAim(String aim) {
        this.aim = aim;
    }

    public String getTeamInfo() {
        return teamInfo;
    }

    public void setTeamInfo(String teamInfo) {
        this.teamInfo = teamInfo;
    }

    public String getRequest() {
        return Request;
    }

    public void setRequest(String request) {
        Request = request;
    }

    @Override
    public String toString() {
        return "Team{" +
                "teamID=" + teamID +
                ", createTime=" + createTime +
                ", schoolName='" + schoolName + '\'' +
                ", typeName='" + typeName + '\'' +
                ", reservation=" + reservation +
                ", userID='" + userID + '\'' +
                ", AllNumber=" + AllNumber +
                ", hasNumber=" + hasNumber +
                ", title='" + title + '\'' +
                ", qqorWechat=" + qqorWechat +
                ", qqorWechatText='" + qqorWechatText + '\'' +
                ", aim='" + aim + '\'' +
                ", teamInfo='" + teamInfo + '\'' +
                ", Request='" + Request + '\'' +
                '}';
    }
}
